package com.ruoyi.mall.domain.bo;

import com.ruoyi.common.core.domain.TreeEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.mall.domain.vo.MallGoodsCategoryVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商城商品分类信息业务对象 mall_goods_category
 *
 * @author ruoyi
 * @date 2024-04-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MallGoodsCategoryBo extends BaseEntity
{

    /**
     * 分类ID
     */
    private Long categoryId;

    /**
     * 分类名称
     */
    @NotBlank(message = "分类名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String categoryName;

    private Long parentId;

    /**
     * 商品分类图片
     */
    private Long categoryImg;
    /**
     * 删除标志(0：未删除 1：已删除)
     */
    private Integer yn;

    /**
     * 备注
     */
    private String remark;


}
